#!/bin/bash
# 改改ssh登录端口
SSH_PORT=`grep "Port 22" /etc/ssh/sshd_config`
if [ "$SSH_PORT" == "Port 22" ]; then
    sed -i "/Port 22\d/Port 53522"
fi
